<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix='fmt' %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<title>累计评价</title>


	<div class="productReviewDiv">
		<div class="productReviewTopPart">
			<a class="productReviewTopPartSelectedLink" href="#">商品详情</a>
			<a class="selected" href="#">累计评价 <span class="productReviewTopReviewLinkNumber">${product.reviewCount}</span> </a>
		</div>
		
		<div class="productReviewContentPart">
			<c:forEach items="${reviews}" var = "r" >
	 			<div class="productReviewItem">
					<div class="productReviewItemDesc">
						<div class="productReviewItemContent">
							${r.content}
						</div>
						<div class="productReviewItemDate">
							<fmt:formatDate value="${r.createDate}" pattern="yyyy-MM-dd" />
						</div>
					</div>
					<div class="productReviewItemUserInfo">
						${r.user.anonymousName}<span class="userInfoGrayPart">（匿名）</span>
					</div>
					<div style="clear:both"></div>
				</div>
			</c:forEach>
			
		</div>
	</div>
</html>